package com.gite.nouette.admin.client;

import com.gite.nouette.admin.contract.application.IApplication;
import com.gite.nouette.admin.implementation.application.ApplicationImpl;
import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.widgets.Canvas;
import com.smartgwt.client.widgets.layout.VLayout;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class GiteNouetteAdmin implements EntryPoint {

	/**
	 * This is the entry point method.
	 */
	@Override
	public void onModuleLoad() {
		IApplication application = new ApplicationImpl();
		Canvas canvas = (Canvas) application.getMainView();

		VLayout vLayout = new VLayout();
		vLayout.setMembersMargin(15);
		vLayout.addMember(canvas);
		vLayout.setHeight100();
		vLayout.setWidth100();
		vLayout.draw();
	}
}
